package com.wly.ui
{
	import com.wly.adapter.FightGridAdapter;
	
	import ui.common.SpriteObject;
	
	public class FightScene extends SpriteObject
	{
		private var _selfFightGrid:FightGrid;
		private var _enemyFightGrid:FightGrid;
		private var _attackTypeSelect:FightSelectGrid;
		
		public function FightScene()
		{
			super();
			initChilds();
		}
		
		private function initChilds():void
		{
			_selfFightGrid     = getChildByName("mcSelf") as FightGrid;
			_enemyFightGrid    = getChildByName("mcEnemy") as FightGrid;
			_attackTypeSelect  = getChildByName("mcAttackTypeSelect") as FightSelectGrid;
					}
		
		public function get selfFightGrid():FightGrid
		{
			return _selfFightGrid;
		}
		
		public function get enemyFightGrid():FightGrid
		{
			return _enemyFightGrid;
		}
		
		public function get fightSelectGrid():FightSelectGrid
		{
			return _attackTypeSelect;
		}
	}
}